package com.baosight.risk.mapper.jlta;

import com.baosight.risk.base.mapper.BaseMapper;
import com.baosight.risk.service.jlta.entity.JltaReback;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JltaRebackMapper extends BaseMapper<JltaReback> {
    /**
     * 根据task主表Id 删除反馈表记录
     *
     * @param id
     */
    void deleteByTaskGuid(@Param("taskId") String id);

    void updateRebackStatus(@Param("rebacks") List<JltaReback> rebacks);

    void updateIsapprovalByIds(@Param("ids")List<String> rebackIds, @Param("isapproval") String isapproval);

    List<JltaReback> selectFileList(@Param("id") String id);
}